package com.atguigu.springcloud.commons.emums;

/**
 * @author horay
 * @category Class description
 * @email horay_hyc@qq.com
 * @date 2018/6/9 17:47
 */
public enum Result {

    Success(0, "处理成功"),
    Failure(1, "处理失败")
    ;

    public final int code;

    public final String comment;

    Result(int code, String comment) {
        this.code = code;
        this.comment = comment;
    }

}
